<?php
include('../include/conn.php');
sleep(1);

if(isset($_GET['con']))
	{
	$sql="select * from `test` where uid='$_GET[con]'";
	$arr=mysql_query($sql);
	if(is_array(mysql_fetch_array($arr)))
		{
		echo '<font color=red>该用户名已经存在</font>'.$_GET['con'];
		}
	else
		{
		echo'<font color=green>该用户名可以使用</font>'.$_GET['con'];	
		}
	}
?>